package com.sc.springboot.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.springboot.pojo.Notification;
import com.sc.springboot.dao.INotificationDao;
import com.sc.springboot.service.INotificationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author romeo
 * @since 2025-09-22 02:30:52
 */
@Service
public class NotificationServiceImpl extends ServiceImpl<INotificationDao, Notification> implements INotificationService {

    @Autowired
    private INotificationDao notificationDao;

    @Override
    public List<Notification> getByUid(Integer uid) {
        return notificationDao.getByUid(uid);
    }
}
